package distriKub;

import java.net.*;

public class Player {
	
	// Unique Id
	protected int id;
	protected String screenName;
	protected InetAddress ipAddress;
	protected Tile[] privateRack = new Tile[13];
	protected int playOrder;
	protected Bank myBank = new Bank();

	// Getters and setters
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getScreenName() {
		return screenName;
	}
	public void setScreenName(String screenName) {
		this.screenName = screenName;
	}
	public InetAddress getIpAddress() {
		return ipAddress;
	}
	public void setIpAddress(InetAddress ipAddress) {
		this.ipAddress = ipAddress;
	}
	public Tile[] getPrivateRack() {
		return privateRack;
	}
	public void setPrivateRack(int placeInRack, Tile tileToPlace) {
		privateRack[placeInRack] = tileToPlace;
	}
	public int getPlayOrder(){
		return this.playOrder;
	}
	public void setPlayOrder(int theOrder){
		this.playOrder = theOrder;
	}
	// End of getters and setters
}
